package com.ruoyi.canteen.vo;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 个人订单列表显示Vo（主订单信息 + 订单明细信息）
 * @Author Ryan
 * @Date 2021/9/21 23:13
 * @Version 1.0
 */
@Data
public class OrderAndItemListVo {

    public OrderAndItemListVo(List<OrderShowVo> orderShowVos, Map<Long, List<CanteenOrderItemVo>> orderItemMap){
        this.orderItemMap = orderItemMap;
        this.orderVos = orderShowVos;
    }

    private List<OrderShowVo> orderVos;

    private Map<Long, List<CanteenOrderItemVo>> orderItemMap;

}
